/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PanelPlantillas.java
 *
 * Created on 28/08/2011, 08:15:02 PM
 */

package GUI;

import GUI.AdministracionPlantillas.*;
import java.awt.BorderLayout;

/**
 *
 * @author CarLita
 */
public class PanelPlantillas extends javax.swing.JPanel {
    Principal ventanaPrincipal;
    public MantPlantillaMarcoReferencia mantenimientoPlantillas;
    public CreacionPlantillaMarcoReferencia creacionPlantillas;

    /** Creates new form PanelPlantillas */
    public PanelPlantillas() {
        initComponents();
    }

    PanelPlantillas(Principal aThis) {
        initComponents();
        this.setLayout(new BorderLayout());
        ventanaPrincipal = aThis;
        creacionPlantillas = new CreacionPlantillaMarcoReferencia(ventanaPrincipal);
        mantenimientoPlantillas = new MantPlantillaMarcoReferencia(ventanaPrincipal);

        mostrarBusqueda();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        setLayout(new java.awt.BorderLayout());
    }// </editor-fold>//GEN-END:initComponents

    private void mostrarBusqueda() {
        this.add(mantenimientoPlantillas,BorderLayout.SOUTH);
    }


    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

}
